package com.ruoyi.reissue.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 补卡申请对象 hr_reissue_card
 * 
 * @author gy
 * @date 2025-05-20
 */
public class HrReissueCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String empName;

    /** 部门 */
    @Excel(name = "部门")
    private String deptName;

    /** 申请日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyDate;

    /** 补卡时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "补卡时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reissueTime;

    /** 补卡原因 */
    @Excel(name = "补卡原因")
    private String reason;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private String status;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setEmpName(String empName) 
    {
        this.empName = empName;
    }

    public String getEmpName() 
    {
        return empName;
    }

    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }

    public void setApplyDate(Date applyDate) 
    {
        this.applyDate = applyDate;
    }

    public Date getApplyDate() 
    {
        return applyDate;
    }

    public void setReissueTime(Date reissueTime) 
    {
        this.reissueTime = reissueTime;
    }

    public Date getReissueTime() 
    {
        return reissueTime;
    }

    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setSubmitTime(Date submitTime) 
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime() 
    {
        return submitTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("empName", getEmpName())
            .append("deptName", getDeptName())
            .append("applyDate", getApplyDate())
            .append("reissueTime", getReissueTime())
            .append("reason", getReason())
            .append("status", getStatus())
            .append("submitTime", getSubmitTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
